<%--
  Created by IntelliJ IDEA.
  User: Mr.nico
  Date: 2022/1/4
  Time: 20:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>申请出诊计划</title>
    <style>
        body{margin:5px;background-color:#369;}
        #main{background-image:url(images/bg/bg12.png);width:90%;margin:0 auto;min-height:600px;padding:0px 0px;}
        .a1{ text-align:center;color:blue;letter-spacing:10px;font-size:48px;font-family:华文行楷;line-height:120px;}
        .a1 span {color:red;}
        .right{position:absolute;top:40px;right:0px;}
        #nav{background-color:#330;line-height:40px;padding:0px 50px;font-size:14px}
        #nav a{color:white}
        #wall{padding:10px 50px}

        table{width:100%;border-spacing: 10px 30px;border-top:1px solid #ccc;border-bottom:1px solid #ccc}
        th{border-bottom:2px solid #ccc;}
        td{text-align:left;width:68%}
        tr td:first-child{text-align:right;width:30%}
        tr:last-child td:last-child{padding-left:20px}
        h1{text-align:center}
        input[type=text]{border-width:0px 0px 2px 0px;border-color:black;background-image:url(images/bg/bg12.png)}
        input:focus{border-color:red}
    </style>
</head>
<body>
<div id="main">

    <div id="wall">
        <div id="main2">
            <h1>申请出诊计划</h1>
            <form action="" method="post">
                <table>
                    <tbody>
                    <tr>
                        <td>医生姓名</td>
                        <td>
                            <select name="planDocId">
                                <option value="-1">请选择那个医生</option>
                                <c:forEach var="d" items="${docList}">
                                    <option value="${d.docId}">${d.docName}</option>
                                </c:forEach>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>出诊时间</td>
                        <td>
                           <input name="planDate" type="date"/>
                        </td>
                    </tr>
                    <tr>
                        <td>出诊诊室</td>
                        <td>
                            <select name="planRoom">
                                <option value="-1">请选择哪个科室</option>
                                <c:forEach var="p" items="${deptList}">
                                    <option>${p.deptName}</option>
                                </c:forEach>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>时段</td>
                        <td>
                            <input name="planTimetype" type="radio" value="1" checked>上午
                            <input name="planTimetype" type="radio" value="0"> 下午
                        </td>
                    </tr>
                    <tr>
                        <td>放号数量</td>
                        <td>
                            <input name="planMax" type="text" >
                        </td>
                    </tr>

                    <tr>
                        <td>门诊挂号费</td>
                        <td>
                            <input name="planFee" type="text">
                        </td>
                        <input name="planState" type="text" value="1" style="display: none">
                        <input name="planCan" type="text" value="10" style="display:none;">
                        <input name="planWfState" type="text" value="草稿" style="display:none;">
                    </tr>

                    <tr>
                        <td><input type="submit" value="申请审批"></td>
                        <td><input type="reset" value="重置"></td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </div>
    </div>
</div>
    </body>
</html>



